

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Abp;
using Abp.Domain.Services;
using Yozeev.SystemConfig;


namespace Yozeev.SystemConfig.DomainService
{
    public interface IPowerRoleManager : IDomainService
    {

        /// <summary>
        /// 初始化方法
        ///</summary>
        void InitPowerRole();

        /// <summary>
        /// 根据角色ID和权限代码查询是否有对应的权限功能
        /// </summary>
        /// <param name="userId">用户id</param>
        /// <returns></returns>
        PowerRole GetIsPowerInfo(int roleid, string powercode);

    }
}
